<?php
require_once ('../lib/config.php');
require_once ('../lib/facebook.php');
require_once ('../lib/friends.php');
require_once ('../lib/friend.php');
require_once ('../lib/test.php');
require_once ('f:\wamp\www\simpletest\autorun.php');
require_once ('../lib/init.php');

class TestFunction_existFromId extends UnitTestCase {

    function testExistFromId(){ 
    
        $comments = getComments('101860899882013');
        
        $this->assertTrue(existFromId($comments, '711806955'));
        $this->assertFalse(existFromId($comments, '1246727706'));
    }
}
?>